<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>thunderbird</Name>
        <Homepage>http://www.mozilla.org/projects/thunderbird/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MPL-1.1</License>
        <License>NPL-1.1</License>
        <License>GPLv2+</License>
        <Icon>thunderbird</Icon>
        <IsA>app:gui</IsA>
        <Summary>The Stand-Alone Mozilla Mail Component</Summary>
        <Description>Thunderbird is a redesign of the Mozilla Mail Component. It is written using the XUL user interface language and designed to be cross-platform.</Description>
        <Archive sha1sum="8965e9ece5feaa8370ebea047e1fcadd00f2cff7" type="tarxz">http://ftp.mozilla.org/pub/thunderbird/releases/52.6.0/source/thunderbird-52.6.0.source.tar.xz</Archive>
        <AdditionalFiles>
            <AdditionalFile target=".mozconfig">pisilinux/mozconfig</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>autoconf213</Dependency>
            <Dependency>wget</Dependency>
            <Dependency>yasm</Dependency>
            <Dependency>nss-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>libffi-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>dbus-glib-devel</Dependency>
            <Dependency>hunspell-devel</Dependency>
            <Dependency>libevent-devel</Dependency>
            <Dependency>gconf-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>startup-notification-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">thunderbird-install-dir.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>thunderbird</Name>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>nss</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>nspr</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>gconf</Dependency>
            <Dependency>icu4c</Dependency>
            <Dependency>hunspell</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>iconcan</Dependency> <!--for <ICON></ICON>-->
            <Dependency>libXext</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libevent</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXdamage</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>startup-notification</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>libffi</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>dbus-glib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/lib/thunderbird</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/icons/hicolor</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/thunderbird/defaults/preferences/vendor.js">vendor.js</AdditionalFile>
            <!-- Desktop file -->
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/thunderbird.desktop">thunderbird.desktop</AdditionalFile>
            <!-- Notification sound file -->
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/thunderbird/sound.wav">pisilinux/sound.wav</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>thunderbird-lang-be</Name>
        <Icon>lang-be</Icon>
        <IsA>locale:be</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Беларуская мова пакет для Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-be@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-ca</Name>
        <Icon>lang-ca</Icon>
        <IsA>locale:ca</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Arxiu d'idioma català del Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-ca@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-da</Name>
        <Icon>lang-da</Icon>
        <IsA>locale:da</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Dansk sprogpakke til Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-da@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-de</Name>
        <Icon>lang-de</Icon>
        <IsA>locale:de</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Deutsch Sprachdatei für Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-de@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-el</Name>
        <Icon>lang-el</Icon>
        <IsA>locale:el</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Ελληνική γλώσσα pack για τον Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-el@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-en-US</Name>
        <Icon>lang-en-US</Icon>
        <IsA>locale:en_US</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>English language pack for Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-en-US@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-es-AR</Name>
        <Icon>lang-es-AR</Icon>
        <IsA>locale:es_AR</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Paquete de idioma español para Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-es-AR@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-es-ES</Name>
        <Icon>lang-es-ES</Icon>
        <IsA>locale:es</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Paquete de idioma español para Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-es-ES@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-fi</Name>
        <Icon>lang-fi</Icon>
        <IsA>locale:fi</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Suomen kielen pack for Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-fi@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-fr</Name>
        <Icon>lang-fr</Icon>
        <IsA>locale:fr</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Paquet de langue française pour Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-fr@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-hr</Name>
        <Icon>lang-hr</Icon>
        <IsA>locale:hr</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Hrvatski jezični paket za Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-hr@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-hu</Name>
        <Icon>lang-hu</Icon>
        <IsA>locale:hu</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Magyar nyelvű pack for Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-hu@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-it</Name>
        <Icon>lang-it</Icon>
        <IsA>locale:it</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Language Pack italiano per Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-it@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-lt</Name>
        <Icon>lang-lt</Icon>
        <IsA>locale:lt</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Lietuvių kalbos paketas Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-lt@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-nl</Name>
        <Icon>lang-nl</Icon>
        <IsA>locale:nl</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Nederlands taalpakket voor Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-nl@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-pl</Name>
        <Icon>lang-pl</Icon>
        <IsA>locale:pl</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Polski pakiet językowy dla programu Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-pl@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-pt-BR</Name>
        <Icon>lang-pt-BR</Icon>
        <IsA>locale:pt_BR</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Pacote de idioma português para o Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-pt-BR@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-pt-PT</Name>
        <Icon>lang-pt-PT</Icon>
        <IsA>locale:pt</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Pacote de idioma português para o Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-pt-PT@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-ro</Name>
        <Icon>lang-ro</Icon>
        <IsA>locale:ro</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Pachet de limba română pentru Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-ro@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-ru</Name>
        <Icon>lang-ru</Icon>
        <IsA>locale:ru</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Русский языковый пакет для Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-ru@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-sr</Name>
        <Icon>lang-sr</Icon>
        <IsA>locale:sr</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Паковање српски језик за Фирефок</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-sr@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-sv-SE</Name>
        <Icon>lang-sv-SE</Icon>
        <IsA>locale:sv_SE</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Svenska språkpaket för Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-sv-SE@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-tr</Name>
        <Icon>lang-tr</Icon>
        <IsA>locale:tr</IsA>
        <PartOf>system.locale</PartOf>
        <Summary>Thunderbird için Türkçe dil dosyası</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-tr@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <Package>
        <Name>thunderbird-lang-uk</Name>
        <Icon>lang-uk</Icon>
        <Summary>Український мовний пакет для Thunderbird</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">thunderbird</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/lib/thunderbird/extensions/langpack-uk@thunderbird.mozilla.org</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-02-04</Date>
            <Version>52.6.0</Version>
            <Comment>Version Bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-05-22</Date>
            <Version>52.1.1</Version>
            <Comment>Version Bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-15</Date>
            <Version>45.1.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
         <Update release="1">
            <Date>2016-01-29</Date>
            <Version>38.5.1</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
